Skip to content

Conversation

@jaydrogers
Copy link
Member

@jaydrogers jaydrogers commented Jan 27, 2026

πŸ‘¨β€πŸ”¬ How to test

You can test this image using our serversideup/php-dev repository, which automatically builds on push to this PR.

serversideup/php-dev:645-*

View the available testing images β†’

🀩 What's new

πŸ› Bug fixes

…643)

* Enhance trusted proxy support across configurations

Updated documentation and configuration files to improve trusted proxy handling. Introduced customizable trusted proxy settings for Cloudflare, Sucuri, and local proxies, ensuring accurate IP logging. Removed hardcoded Cloudflare IPs from NGINX and Apache configurations, replacing them with a dynamic inclusion based on the TRUSTED_PROXY environment variable.

* Clarify trusted proxy documentation for Cloudflare and Sucuri

Updated the documentation to specify that both Cloudflare and Sucuri configurations now automatically include local Docker networks. Added a tip to inform users that they can use the `cloudflare` setting while also trusting local proxies, enhancing clarity on trusted proxy usage.

* Add global Caddy configuration support in FrankenPHP

Updated the Dockerfile to create a directory for global Caddy configurations and modified the Caddyfile to import additional configuration files from the new caddyfile-global.d directory, enhancing flexibility in Caddy setup.

* Fix Dockerfile syntax by correcting line continuation for Caddy configuration paths
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 27, 2026

Deploying serversideup-php with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: 096b1ba
Status:Β βœ…Β  Deploy successful!
Preview URL: https://b8d12560.serversideup-php.pages.dev
Branch Preview URL: https://release-webserver-improvemen.serversideup-php.pages.dev

View logs

@jaydrogers jaydrogers changed the title Add TRUSTED_PROXY support for all variations & Caddy global imports (… Release 4.4: Add Addiitonal Proxy Support, web server improvements, and other fixes Jan 27, 2026
@jaydrogers jaydrogers changed the title Release 4.4: Add Addiitonal Proxy Support, web server improvements, and other fixes Release 4.4: Add Additonal Proxy Support, web server improvements, and other fixes Jan 27, 2026
5ergiu and others added 2 commits January 27, 2026 11:01
* Config checks for SSL certificate generation

Add checks for DISABLE_DEFAULT_CONFIG and set default SSL file paths.

* Removed comment since the code is readable

---------

Co-authored-by: Jay Rogers <3174134+jaydrogers@users.noreply.github.com>
…atabase connection checks (#628)

* Refactor Laravel migration script to improve isolation handling and database connection checks

- Removed migration isolation argument from test-db-connection script.
- Introduced a helper function for running migrations per database, enhancing clarity and reusability.
- Updated migration flag assembly logic to better manage isolation settings.
- Improved error handling and logging for database connection issues.

* Remove debug log from Laravel migration script to streamline output during migrations

* Update Laravel migration script to change error message from error to warning for version check

* Update PHP base opertating systems. Add Alpine 3.23 support (#638)

PHP repo no longer has images available for alpine3.21 for latest minor versions, this removes 3.21 if its no longer available and adds 3.23 if available

* Update PHP extension installer version to 2.9.27

* Update NGINX version to 1.28.1

* Refactor and improve security headers, file blocks, etc (#631)

* Fix blocking .well-known path for FrankenPHP

* Remove specific endpoint checks because the whole folder should be allowed

* Enhance security configurations across Apache, NGINX, and Caddy by implementing best practices for HTTP headers and file access restrictions. Added protections against clickjacking, MIME type sniffing, and sensitive file exposure while allowing necessary access to well-known URIs as per RFC 8615.

---------

Co-authored-by: Jay Rogers <3174134+jaydrogers@users.noreply.github.com>
Co-authored-by: Jay Rogers <jaydrogers@users.noreply.serversideup.net>

* Update GitHub Actions to use actions/checkout@v6 in multiple workflows

* Update GitHub Actions to use actions/upload-artifact@v6 for improved artifact handling

* Update GitHub Actions to use actions/download-artifact@v7 for improved artifact handling

* Upgrade FrankenPHP to v1.11.1

* Increase size of GitHub Actions Runners because of memory segmentation fault issues (Thanks Depot! πŸ˜…)

* Add security measures to block PHP execution in storage directory (#641)

Implemented restrictions across Apache, NGINX, and FrankenPHP configurations to prevent the execution of PHP files in the /storage directory, addressing potential vulnerabilities related to arbitrary file uploads (GHSA-29cq-5w36-x7w3).

* Refactor Laravel version check and isolation mode handling in automation script

- Updated the logic for enabling isolation mode based on Laravel version, ensuring it only activates for versions 9.38.0 and above.
- Improved error handling and logging for Laravel version detection, providing clearer output when version determination fails.
- Simplified version comparison logic to enhance readability and maintainability.

* Update container info script to include automation status

---------

Co-authored-by: alloylab <trevor@alloylab.com>
Co-authored-by: Marcel Arns <38068686+marns93@users.noreply.github.com>
arnaud-ritti and others added 2 commits January 27, 2026 12:04
* Add Nightwatch health check script

* Add documentation for Laravel Nightwatch

---------

Co-authored-by: Jay Rogers <3174134+jaydrogers@users.noreply.github.com>
Co-authored-by: Jay Rogers <jaydrogers@users.noreply.serversideup.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants